package com.youlu.campus.web.membership.service;

import com.youlu.campus.entity.MemberShipInfo;
import com.youlu.campus.entity.VO.PlaceOrderReq;
import com.youlu.campus.entity.VO.req.MemberShipOrderVO;

import java.util.Map;

public interface UserMemberShipInfoService {
    /**
     * 获取会员卡信息
     *
     * @param userId
     * @return
     */
    MemberShipInfo getUserMemberShipInfo(String userId);

    /**
     * 会员信息下单
     *
     * @param req
     */
    void memberShipPayOrder(MemberShipOrderVO req);

    /**
     * 会员卡信息下单
     *
     * @param req
     * @return
     */
    public Map<String, String> placeOrder(PlaceOrderReq req);
}
